package com.example.sale.service;

import com.example.sale.entity.SaleChance;
import com.example.sale.entity.SalePlan;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface PlanService {

    List queryDataAll();

    List<Map> queryData(String id) throws Exception;

    SalePlan queryById(String id);

    List<SalePlan> queryByCusId(String id);

    void savePlan(SalePlan salePlan);

    void deleteInfo(String id);

    void updateInfo(SalePlan salePlan);

    void saveInfo(SaleChance saleChance, HttpServletRequest request);
}
